package com.example.demo.controller;

import jdk.nashorn.internal.runtime.logging.Logger;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/api/v2/")
public class RequestMappingController {


    @CrossOrigin
    @GetMapping(value = "user")
    public String getUser(){
        return "GET...........";
    }
    @CrossOrigin
    @PutMapping(value = "user")
    public String putUser(){
        return "PUT...........";
    }
    @CrossOrigin
    @PostMapping(value = "user")
    public String postUser(){
        return "POST...........";
    }

    @CrossOrigin
    @DeleteMapping(value = "user")
    public String deleteUser(){
        return "DELETE...........";
    }


}
